package org.snia.server.cfg;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "cluster")
public final class ClusterSetting {
	private String id;
	private String name;
	private String type;
	private String architecture;
	private String host;
	private RouterEndpoint router;
	private DataCenterSetting dbcenter;
	private StorageSetting storage;
	private OptimizeParameter paramter;
	
	
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param architecture the architecture to set
	 */
	public void setArchitecture(String architecture) {
		this.architecture = architecture;
	}
	/**
	 * @return the architecture
	 */
	public String getArchitecture() {
		return architecture;
	}
	/**
	 * @param host the host to set
	 */
	public void setHost(String host) {
		this.host = host;
	}
	/**
	 * @return the host
	 */
	public String getHost() {
		return host;
	}
	
	/**
	 * @param router the router to set
	 */
	public void setRouterEndpoint(RouterEndpoint router) {
		this.router = router;
	}

	/**
	 * @return the router
	 */
	public RouterEndpoint getRouterEndpoint() {
		return router;
	}

	/**
	 * @param dbcenter the dbcenter to set
	 */
	public void setDataCenterInfo(DataCenterSetting dbcenter) {
		this.dbcenter = dbcenter;
	}

	/**
	 * @return the dbcenter
	 */
	public DataCenterSetting getDataCenterInfo() {
		return dbcenter;
	}
	/**
	 * @param storage the storage to set
	 */
	public void setStorageSetting(StorageSetting storage) {
		this.storage = storage;
	}
	/**
	 * @return the storage
	 */
	public StorageSetting getStorageSetting() {
		return storage;
	}
	
	/**
	 * @param paramter the paramter to set
	 */
	public void setOptimizeParameter(OptimizeParameter paramter) {
		this.paramter = paramter;
	}

	/**
	 * @return the paramter
	 */
	public OptimizeParameter getOptimizeParameter() {
		return paramter;
	}
}
